package com.wwj.depository.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wwj.depository.entity.DepositoryExpressInformationEntity;
import com.wwj.depository.vo.ExpressVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ExpressDao extends BaseMapper<DepositoryExpressInformationEntity> {
    /**
     * 连表查询快递信息和仓库数据
     */
    List<ExpressVo> selectExpressLocationList();

    List<ExpressVo> selectExpressLocationListWithQuery(@Param("query") String query);
}
